package com.zh.work.entity.trans;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.zh.common.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;


@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel("二维码交易当天实体类")
@TableName("qrcode_trans_today")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class QrCodeTransTodayEntity extends BaseEntity {
    private static final long serialVersionUID = 2248152222646258481L;


    @ApiModelProperty(value = "主键", name = "id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    @ApiModelProperty(value = "交易日期", name = "transDate")
    private String transDate;
    @ApiModelProperty(value = "交易时间", name = "transTime")
    private String transTime;
    @ApiModelProperty(value = "交易类型 1-支付宝2-微信4-百度8-QQ16-京东 32-银联", name = "payType")
    private Integer payType;
    @ApiModelProperty(value = "机构编号", name = "branchNo")
    @TableField(value = "branchno")
    private String branchNo;
    @ApiModelProperty(value = "机构名称", name = "branchName")
    private String branchName;
    @ApiModelProperty(value = "商户编号", name = "merchNo")
    @TableField(value = "merchno")
    private String merchNo;
    @ApiModelProperty(value = "商户名称", name = "merchName")
    private String merchName;
    @ApiModelProperty(value = "平台订单号", name = "orderNo")
    @TableField(value = "orderno")
    private String orderNo;
    @ApiModelProperty(value = "交易金额", name = "amount")
    private Float amount;
    @ApiModelProperty(value = "订单状态(0-下单成功 1-支付成功 2-支付失败)", name = "status")
    private Integer status;
    @ApiModelProperty(value = "二维码信息", name = "barCode")
    private String barCode;
    @ApiModelProperty(value = "批次号", name = "batchNo")
    @TableField(value = "batchno")
    private String batchNo;
    @ApiModelProperty(value = "渠道商户编号", name = "channelMerchNo")
    @TableField(value = "channel_merchno")
    private String channelMerchNo;
    @ApiModelProperty(value = "渠道终端编号", name = "termNo")
    @TableField(value = "termno")
    private String termNo;
    @ApiModelProperty(value = "渠道订单号", name = "channelOrderN")
    @TableField(value = "channel_orderno")
    private String channelOrderNo;
    @ApiModelProperty(value = "折扣金额", name = "discountAmount")
    private Float discountAmount;
    @ApiModelProperty(value = "退款金额", name = "rebackAmount")
    private Float rebackAmount;
    @ApiModelProperty(value = "备注", name = "remark")
    private String remark;
    @ApiModelProperty(value = "商户手续费", name = "merchFee")
    private Float merchFee;
    @ApiModelProperty(value = "渠道手续费", name = "channelFee")
    private Float channelFee;
    @ApiModelProperty(value = "机构手续费", name = "branchFee")
    private Float branchFee;
    @ApiModelProperty(value = "代理编号", name = "agentNo")
    @TableField(value = "agentno")
    private String agentNo;
    @ApiModelProperty(value = "代理商名称", name = "agentName")
    private String agentName;
    @ApiModelProperty(value = "商户流水号", name = "traceNo")
    @TableField(value = "traceno")
    private String traceNo;
    @ApiModelProperty(value = "渠道流水号", name = "backupOrderNo")
    @TableField(value = "backup_orderno")
    private String backupOrderNo;
    @ApiModelProperty(value = "渠道编号", name = "channelCode")
    private String channelCode;
    @ApiModelProperty(value = "扫码类型", name = "scanType")
    private Integer scanType;
    @ApiModelProperty(value = "接口类型", name = "interType")
    private Integer interType;
    @ApiModelProperty(value = "卖家手机号", name = "mobileSeller")
    private String mobileSeller;
    @ApiModelProperty(value = "买家手机号", name = "mobileBuyer")
    private String mobileBuyer;
    @ApiModelProperty(value = "渠道名称", name = "channelName")
    @TableField(exist = false)
    private String channelName;
    @ApiModelProperty(value = "结算类型 1-T+0 2-T+1", name = "settleType")
    private Integer settleType;
    @ApiModelProperty(value = "T+0手续费", name = "t0AddFee")
    private Float t0AddFee;
    @ApiModelProperty(value = "结算卡号", name = "accountNo")
    @TableField(value = "accountno")
    private String accountNo;
    @ApiModelProperty(value = "结算户名", name = "accountName")
    private String accountName;
    @ApiModelProperty(value = "身份证号", name = "certNo")
    @TableField(value = "certno")
    private String certNo;
    @ApiModelProperty(value = "付款状态 0-待支付,1-支付成功 2-支付失败 3-支付未完成", name = "payStatus")
    private Integer payStatus;
    @ApiModelProperty(value = "付款说明", name = "payDesc")
    private String payDesc;
    @ApiModelProperty(value = "手机号", name = "mobile")
    private String mobile;
    @ApiModelProperty(value = "银行代码", name = "bankNo")
    @TableField(value = "bankno")
    private String bankNo;
    @ApiModelProperty(value = "支行名称", name = "bankName")
    private String bankName;
    @ApiModelProperty(value = "银行名称", name = "bankType")
    private String bankType;
    @ApiModelProperty(value = "清算方 1-平台清算 2-虚拟账户", name = "liquidator")
    private Integer liquidator;
    @ApiModelProperty(value = "通知地址", name = "notifyUrl")
    private String notifyUrl;
    @ApiModelProperty(value = "通知状态 1-无需通知 2-通知成功 3-通知失败", name = "notifyStatus")
    private Integer notifyStatus;
    @ApiModelProperty(value = "充值状态 1-无需充值 2-充值成功 3-充值失败", name = "rechargeStatus")
    private Integer rechargeStatus;
    @ApiModelProperty(value = "代付状态 1-无需代付 2-代付成功 3-代付失败", name = "paymentStatus")
    private Integer paymentStatus;
    @ApiModelProperty(value = "商户订单号", name = "merchOrderNo")
    @TableField(value = "merch_orderno")
    private String merchOrderNo;
    @ApiModelProperty(value = "系统订单号", name = "merchOrderNo")
    @TableField(value = "system_orderno")
    private String systemOrderNo;
    @ApiModelProperty(value = "开始金额", name = "beginAmount")
    @TableField(exist = false)
    private Float amtStart;
    @ApiModelProperty(value = "结束金额", name = "endAmount")
    @TableField(exist = false)
    private Float amtEnd;
    @ApiModelProperty(value = "查询类型(1.实时，2.历史)", name = "type")
    @TableField(exist = false)
    private Integer type;
    @ApiModelProperty(value = "参考号", name = "refNo")
    @TableField(value = "refno")
    private String refNo;
    @ApiModelProperty(value = "经纬度", name = "stationInfo")
    @TableField(value = "station_info")
    private String stationInfo;

}
